import 'package:json_annotation/json_annotation.dart';

part 'product_service.g.dart';

@JsonSerializable()
class ProductService extends Object {
  @JsonKey(name: 'avatar')
  String avatar;

  @JsonKey(name: 'name')
  String name;

  @JsonKey(name: 'description')
  String description;

  ProductService(
    this.avatar,
    this.name,
    this.description,
  );

  factory ProductService.fromJson(Map<String, dynamic> srcJson) =>
      _$ProductServiceFromJson(srcJson);
}
